package soap.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import soap.feign.query.UserQuery;
import soap.service.UserService;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by ZhangPY on 2020/6/26
 * Belong Organization OVERUN-9299
 * overun9299@163.com
 * Explain:
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @Autowired
    private UserService userService;

    @RequestMapping(value = "/getPersonListForExport")
    public String getUserListForExport(HttpServletRequest request, UserQuery userQuery) {
        return userService.getUserListForExport(request, userQuery);
    }
}
